package com.ruoyi.system.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 简历对象 jsjx_staff_experience
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class StaffExperience extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 经历ID */
    private Long experienceId;

    /** 关联教职工ID */
    private Long staffId;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String organization;

    /** 专业方向/职务 */
    @Excel(name = "专业方向/职务")
    private String position;

    /** 序号 */
    @Excel(name = "序号")
    private Long sequence;

    public void setExperienceId(Long experienceId)
    {
        this.experienceId = experienceId;
    }

    public Long getExperienceId() 
    {
        return experienceId;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setSequence(Long sequence) 
    {
        this.sequence = sequence;
    }

    public Long getSequence() 
    {
        return sequence;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("experienceId", getExperienceId())
            .append("staffId", getStaffId())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("organization", getOrganization())
            .append("position", getPosition())
            .append("sequence", getSequence())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
